Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redesign Assessment HTML report to have a single subsection having all issues(all categories) #2184

Merged
merged 7 commits into from
Jan 16, 2025

Conversation

sanyamsinghal
Copy link
Collaborator

@sanyamsinghal sanyamsinghal commented Jan 14, 2025

Describe the changes in this pull request

  • Changes the html report: removing previous sub sections and adding single subsection Assessment Issues

  • The issues in that list are sorted by category.

  • For the issues table, we can also sort the rows based on category, type/name, and impact.
    Note: final list will be based on each column indepedently sorted, no multi level sorting.

https://yugabyte.atlassian.net/browse/DB-14875

Describe if there are any user-facing changes

Assessment Report html format changes wrt the issues being displayed.
Added buttons in the html report to expand/collapse all the closed/open rows at once.

How was this pull request tested?

Manually.
Once we remove the deprecated fields from AssessmentReport struct, we will need to update the expected json reports in the tests.

Does your PR have changes that can cause upgrade issues?

Component Breaking changes?
MetaDB No
Name registry json No
Data File Descriptor Json No
Export Snapshot Status Json No
Import Data State No
Export Status Json No
Data .sql files of tables No
Export and import data queue No
Schema Dump No
AssessmentDB No
Sizing DB No
Migration Assessment Report Json No (this will change in further PRs)
Callhome Json No
YugabyteD Tables No
TargetDB Metadata Tables No

Attaching some sample of new HTML reports::

  1. All rows collapsed
image
  1. Some rows expanded
image

@sanyamsinghal sanyamsinghal self-assigned this Jan 14, 2025
@sanyamsinghal sanyamsinghal marked this pull request as ready for review January 14, 2025 09:15
- due to test validation phase limitation that it needs the same order right now
Copy link
Collaborator

@makalaaneesh makalaaneesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! i don't know enough html/js to comment :) @priyanshi-yb in case you want to take a look as well, pls do.

@sanyamsinghal sanyamsinghal merged commit 2a705b2 into main Jan 16, 2025
67 checks passed
@sanyamsinghal sanyamsinghal deleted the sanyam/html-report branch January 16, 2025 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants